package com.kingmed.kmss.framework.feign.client.kmcs;


import com.kingmed.kmss.common.dto.kmcs.PsQueryDTO;
import com.kingmed.kmss.common.exception.external.ExternalApiException;
import feign.Response;
import org.springframework.stereotype.Component;


@Component
public class LbFeignFallbackService implements LbFeignService {

    @Override
    public Response defaultLab(PsQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs lb调用异常");
    }

    @Override
    public Response outLab(PsQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs lb调用异常");
    }

    @Override
    public Response checkSystem(PsQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs lb调用异常");
    }

    @Override
    public Response reportTemp(PsQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs lb调用异常");
    }

    @Override
    public Response resultDw(PsQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs lb调用异常");
    }
}
